SUMMARY = "Init script for Bluetooth Manager"
SECTION = "base"
PRIORITY = "optional"
LICENSE = "proprietary"
require conf/license/license-gplv2.inc

inherit update-rc.d
INITSCRIPT_NAME = "BTInit.sh"
INITSCRIPT_PARAMS = "start 60 S ."

PR = "r3"

SRC_URI  = "file://${INITSCRIPT_NAME}"

S = "${WORKDIR}"

do_install() {
    install -d ${D}${sysconfdir}/init.d
    install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}

do_package_qa() {
}

FILES:${PN}  = "${sysconfdir}"
